﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMR_System
{
    public class Appointment
    {
        public int ID { get; set; }

        public int PatientID { get; set; }

        public string Doctor { get; set; }

        public DateTime Date { get; set; }

        public bool IsNewPatient { get; set; }

        public int Duration { get; set; }

        public string Reason { get; set; }

        public Appointment(int patientID, string doctor, DateTime date, bool isNewPatient, int duration, string reason)
        {
            PatientID = patientID;
            Doctor = doctor;
            Date = date;
            IsNewPatient = isNewPatient;
            Duration = duration;
            Reason = reason;
        }
    }
}
